package com.itfreer.data.general;

import java.util.HashMap;

/**
 * 类功能说明 全局数据类型转换为字符串
 */
public class GlobalDataTypeDicStr {
	private static HashMap<Integer, String> result;

	static {
		result = new HashMap<Integer, String>();
		result.put(1, "布尔值");
		result.put(2, "字符型");
		result.put(3, "字符串");
		result.put(4, "大文本型");
		result.put(5, "日期型");
		result.put(6, "日期时间型");
		result.put(7, "大双精度浮点数");
		result.put(8, "双精度浮点数");
		result.put(9, "单精度浮点数字");
		result.put(10, "短整型");
		result.put(11, "整型");
		result.put(12, "长整型");
		result.put(13, "无符号短整型");
		result.put(14, "无符号整型");
		result.put(15, "无符号长整型");
		result.put(16, "二进制流类型");
		result.put(17, "未定义");
	}

	public static String getDataType(int typeId) {
		return result.get(typeId);
	}
	
	
	public static void main(String[] args) {
		System.out.println(getDataType(10));
	}
}